package com.itany.book.book.dao;

import com.itany.book.pojo.Book;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Author:yaozhiyuan0117@163.com
 * Time:2020/1/2 9:31
 * Describe:
 * version:1.0
 */
@Repository
public interface BookMapper {

    List<Book> selectAllBooks(@Param("lastType") String lastType);

    Book selectById(@Param("id") Integer id);
}
